// @description Save video clips from YouTube, Google Video, Myspace, Metacafe, Break.com, Putfile, Dailymotion and Sevenload.
// @include http://*youtube.com/*
// @include http://*video.google.*/*
// @include http://*myspace.com/*
// @include http://*metacafe.com/*
// @include http://*break.com/*
// @include http://*putfile.com/*
// @include http://*dailymotion.com/*
// @include http://*sevenload.de/*
// @include http://*myvideo.de/*
// @include http://*clipfish.de/*
// ==/UserScript==
//
// IE7pro Team
// Ported from http://userscripts.org/scripts/show/4037
//
(function(){
var logotopimgsrc='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFYAAABOCAMAAACNDREzAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAADAUExURfn4966ml9Pe0cDSvYuHdbrMtk9GMXVlQenp47mkeMTVwol4Ui0nF8azjc/bzODk3JaRghYRCKqVaXFpV9rX0cnFwJeEW7KdcWBZSauSYcnZx3x1ZLKaaoBvTL+4r6ObjGZZOayYbUQ6KDgwIKGKW2liU4J6a9bh1KWRZ8bXxNHNyaeTaKmYdW9gO626pJmjjbSxqFlQPqGOY2tfRriuph4ZEMrUwfLx7459WKSvmrPBq7uyqXZuXtfi1QYGBP///64HO4MAAA0dSURBVHjaYrCnCQAIIAYYrSbPQEVjAQIIZpaanamAOfWMBQggmLFsdnYCVHQuQADBjJKTUJajYiAABBDcheaWbCLUMxYggBAeN1eiYigABBCSSWqG1HMuQAAhGSvCQz3nAgQQskFyPJbUMhYggJCNZVClWqwBBBCKt1nsJKhkLkAAoRhrYGrHQp3gBQggFFP42eyUtKhiLEAAoRjLIG1HJecCBBCqIXI8dkqiUAl+fg5zBgYGewYOWBHEQLyNAAGEplLA1E6Cw95cRI6RxdBQwlACCAyVlNlshNUY5UQZBUxM5K1F5US1tES1+OFFKgigGwsQQGgC/Kp2yqIMwOIMDkztTJV5TE3t7ARNeYCEoLKSKY+ysjKPshKbIZuEgJy1PKOJtbWcNSOjPKMo3C6AAEK3R97UTo3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a+656KYrLhcdVFCGEfTFK++89NZr77340mtEdltM4O+/AAcs8MAEF2ywwEiwoPDCDDf8QQgAOw==';
var home='http://1024k.de/bookmarklets/video-bookmarklets.html';
var hometitle='title="(author\'s homepage)"';
var loc=window.location.href;
function in2html(txt)
{
if (!txt) return '';
var txthtml = txt.replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>');
return(txthtml);
}
function rev(str)
{
if (!str) return '';
var revstr='';
for (i=str.length-1;i>=0;i--){revstr+=str.charAt(i)}
return revstr;
}
var found=false;
var backlink=in2html(loc);
var host=window.location.hostname;
var mediahost=false;
var embmedia=new Array();
var source;var filetype='';
var fileURL=new Array();
var urlstra='<div class="filelink"><a href="';
var urlstrb='" title="Download video from ';
var urlstrc='">Download link</a> ';
var urlstrd='</div>Right-click -> "Save Target As"';